github.com/klauspost/compress/zstd.encoderOptions.windowSize (field)
26 uses
github.com/klauspost/compress/zstd (current package)
dict.go#L238: windowSize: maxMatchLen,
encoder.go#L554: single := len(src) <= e.o.windowSize && len(src) > MinWindowSize
encoder_options.go#L23: windowSize int
encoder_options.go#L41: windowSize: 8 << 20,
encoder_options.go#L54: return &fastEncoderDict{fastEncoder: fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}
encoder_options.go#L56: return &fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}
encoder_options.go#L60: return &doubleFastEncoderDict{fastEncoderDict: fastEncoderDict{fastEncoder: fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}}
encoder_options.go#L62: return &doubleFastEncoder{fastEncoder: fastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}
encoder_options.go#L65: return &betterFastEncoderDict{betterFastEncoder: betterFastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}}
encoder_options.go#L67: return &betterFastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}
encoder_options.go#L69: return &bestFastEncoder{fastBase: fastBase{maxMatchOff: int32(o.windowSize), bufferReset: math.MaxInt32 - int32(o.windowSize*2), lowMem: o.lowMem}}
encoder_options.go#L120: if o.resetOpt && n != o.windowSize {
encoder_options.go#L124: o.windowSize = n
encoder_options.go#L126: if o.blockSize > o.windowSize {
encoder_options.go#L127: o.blockSize = o.windowSize
encoder_options.go#L248: o.windowSize = 4 << 20
encoder_options.go#L253: o.windowSize = 8 << 20
encoder_options.go#L255: o.windowSize = 8 << 20
encoder_options.go#L257: o.windowSize = 8 << 20
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |